from CommonUIImp.DefaultPersistStorage import DefaultPersistStorage

class Config(DefaultPersistStorage):
    defaultConfig = {
        "info": "demo"
    }

    def __init__(self, name: str) -> None:
        super().__init__(name)
        if len(self.storage) == 0:
            self.storage = Config.defaultConfig